<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: zhaoyingjie
  Date: 2021/9/24
  Time: 19:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>公司列表</title>
    <link rel="icon" href="/hire/imgs/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/hire/css/job/company/company.css">
    <link rel="stylesheet" href="/hire/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/hire/plugins/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/hire/plugins/layui/city-picker/city-picker.css">
</head>
<body>
<%@include file="./../../common/mynav.jsp" %>
<div class="zi">
    <div class="inner">
        <div class="moddle">
            <div class="search">
                <input type="text" value="${name}" placeholder="华为" class="item1" id="business">
                <input type="button" value="搜索" class="item2" onclick="search_name()">
            </div>
        </div>
        <div class="moddle">
            <div class="map1">
                <ul>
                    <li>公司地点:</li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">全国</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">北京市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">上海市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">广州市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">深圳市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">杭州市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">天津市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">西安市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">苏州市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">武汉市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">厦门市</a></li>
                    <li><a href="javascript:void(0)" onclick="searchcity(this)">长沙市</a></li>
<%--                    <li><a href="javascript:void(0)" onclick="searchcity(this)">成都市</a></li>--%>
<%--                    <li><a href="javascript:void(0)" onclick="searchcity(this)">郑州市</a></li>--%>
<%--                    <li><a href="javascript:void(0)" onclick="searchcity(this)">重庆市</a></li>--%>
                    <li>

                        <form class="layui-form layui-form-pane" >
                            <div class="layui-form-item layui-col-md8">
                                <div class="layui-input-block" id="city1">
                                    <input type="text"  autocomplete="on" class="layui-input" style="width: 250px;"  id="address" name="city-picker" readonly="readonly" data-toggle="city-picker" placeholder="全部城市" value="${province}/${city}/${district}" >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-input-inline">
                                    <button type="button" class="layui-btn" lay-submit lay-filter="citypickerDemo"  onclick="searchAllCity()">确认</button>
                                    <%--                                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>--%>
                                </div>
                            </div>
<%--                            <div class="layui-form-item">--%>
<%--                                <div class="layui-input-inline">--%>
<%--                                    <button type="button" class="citybutton"  onclick="searchAllCity()">选&nbsp;择</button>--%>
<%--                                </div>--%>
<%--                            </div>--%>
                        </form>
                    </li>
                </ul>
            </div>
            <div class="map1">
                <ul>
                    <li>融资阶段:</li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">全部</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">未融资</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">天使轮</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">A轮</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">B轮</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">C轮</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">D轮及以上</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">已上市</a></li>
                    <li><a href="javascript:void(0)" onclick="findbus(this)">不需要融资</a></li>
                </ul>
            </div>
            <div class="map1">
                <ul>
                    <li>公司规模:</li>
                    <li><a href="javascript:void(0)" onclick="countperson(this)">全部</a></li>
                    <li><a href="javascript:void(0)" onclick="countperson(this)">100-499人</a></li>
                    <li><a href="javascript:void(0)" onclick="countperson(this)">500-999人</a></li>
                    <li><a href="javascript:void(0)" onclick="countperson(this)">1000-9999人</a></li>
                    <li><a href="javascript:void(0)" onclick="countperson(this)">10000人以上</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="inner">
    <div class="company-totality">
        <c:forEach items="${company.list}" var="c">
            <div class="company-zero">
                <div class="company" onclick="toinfo(this)">
                    <img src="/hire/imgs/company/logo/${c.logo}" alt="" class="comp-logo">
                    <div class="more1">
                        <input type="hidden" value="${c.id}">
                        <div class="comp-name"><a>${c.name}</a></div>
                        <div class="comp-name2"><a href="#">${c.financing}|${c.industryType}</a></div>
                    </div>

                </div>
                <div class="company-content1"><a href="#">热招</a></div>
                <div class="company-content2"><a href="#">实施工程师</a></div>
            </div>
        </c:forEach>
    </div>

</div>
<div class="page">
    <%@include file="../../common/page1.jsp" %>
</div>
<%@include file="./../../common/myfooter.jsp" %>
<script src="/hire/js/job/company/company.js"></script>
<script src="/hire/plugins/layui/layui.js"></script>
<script src="/hire/plugins/jquery/jquery.min.js"></script>
<script src="/hire/plugins/bootstrap/js/bootstrap.js"></script>
<script src="/hire/js/common/page1.js"></script>
<script src="../../plugins/layui/city-picker/city-picker.data.js"></script>
<script src="../../plugins/layui/city-picker/city-picker.js"></script>
<script type="text/javascript">
    layui.extend({
        citypicker:'{/}./plugin/layui/extend/city-picker/city-picker'
    }).use(['jquery','citypicker','form'],function(){
        var $ = layui.$,
            form = layui.form,
            citypicker = layui.citypicker;

        var cityPicker = new citypicker("#address",{
            provincename:"provinceId",
            cityname:"cityId",
            districtname: "districtId",
            level: 'districtId',// 级别
        })
    });
</script>
</body>
</html>
